name_list = ['TOM', 'Lily', 'ROSE']

# 1、in
print('TOM' in name_list)
print('TOMS' in name_list)
print("===========")

# 2、not in
print('TOM' not in name_list)
print('TOMS' not in name_list)
